#include "GapStateMap.h"

namespace tsc
{
namespace mgw
{

GapStateUnregistered* GapStateMap::mpStateUnregistered =
        GapStateUnregistered::instance();
GapStateRegistered* GapStateMap::mpStateRegistered =
        GapStateRegistered::instance();
GapStateRegisterPend* GapStateMap::mpStateRegisterPend =
        GapStateRegisterPend::instance();

/*******************************************************************************
 *
 * Constructor
 *
 ******************************************************************************/
GapStateMap::GapStateMap()
{

} // GapStateMap::GapStateMap

/*******************************************************************************
 *
 * Destructor
 *
 ******************************************************************************/
GapStateMap::~GapStateMap()
{

} // GapStateMap::~GapStateMap

common::StateBase* GapStateMap::initialState() const
{
	return mpStateUnregistered;
}

GapStateMap& GapStateMap::instance()
{
	static GapStateMap stateMap;
	return stateMap;
}

} // namespace sgw
} // namespace tsc
